package indi.jp.project.core.service;

import indi.jp.project.core.entity.JsonResult;
import indi.jp.project.core.entity.Menu;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface MenuService {

    Map<String, Object> queryGrid(Menu entity) throws SQLException;

    JsonResult save(Menu entity) throws SQLException;

    int deleteById(String id) throws SQLException;

    List<Menu> queryAll() throws SQLException;

}
